lib/include/tools.h